﻿@model CarsRegistrationService.Models.LightDataModel.LightVehiclePassport

<fieldset>
    <legend>Информация о транспортном средстве</legend>
    <table>
        <tr>
            <td>
                @Html.LabelFor(model => model.VIN)
            </td>
            <td>
                @Html.TextBoxFor(model => model.VIN)
                @Html.ValidationMessageFor(model => model.VIN)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.CarSeries)
            </td>
            <td>
                @Html.TextBoxFor(model => model.CarSeries)
                @Html.ValidationMessageFor(model => model.CarSeries)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.CarDate)
            </td>
            <td>
                @Html.TextBoxFor(model => model.CarDate)
                @Html.ValidationMessageFor(model => model.CarDate)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EngineModel)
            </td>
            <td>
                @Html.TextBoxFor(model => model.EngineModel)
                @Html.ValidationMessageFor(model => model.EngineModel)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EngineNumber)
            </td>
            <td>
                @Html.TextBoxFor(model => model.EngineNumber)
                @Html.ValidationMessageFor(model => model.EngineNumber)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.Brand)
            </td>
            <td>
                @Html.TextBoxFor(model => model.Brand)
                @Html.ValidationMessageFor(model => model.Brand)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.Model)
            </td>
            <td>
                @Html.TextBoxFor(model => model.Model)
                @Html.ValidationMessageFor(model => model.Model)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.Category)
            </td>
            <td>
                @Html.TextBoxFor(model => model.Category, new { maxLength = 1 })
                @Html.ValidationMessageFor(model => model.Category)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.ChassisNumber)
            </td>
            <td>
                @Html.TextBoxFor(model => model.ChassisNumber)
                @Html.ValidationMessageFor(model => model.ChassisNumber)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.BodyNumber)
            </td>
            <td>
                @Html.TextBoxFor(model => model.BodyNumber)
                @Html.ValidationMessageFor(model => model.BodyNumber)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.BodyColor)
            </td>
            <td>
                @Html.TextBoxFor(model => model.BodyColor)
                @Html.ValidationMessageFor(model => model.BodyColor)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EnginePower)
            </td>
            <td>
                @Html.TextBoxFor(model => model.EnginePower)
                @Html.ValidationMessageFor(model => model.EnginePower)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EngineWorkingVolume)
            </td>
            <td>
                @Html.TextBoxFor(model => model.EngineWorkingVolume)
                @Html.ValidationMessageFor(model => model.EngineWorkingVolume)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.EngineType)
            </td>
            <td>
                @Html.TextBoxFor(model => model.EngineType)
                @Html.ValidationMessageFor(model => model.EngineType)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.MaxMass)
            </td>
            <td>
                @Html.TextBoxFor(model => model.MaxMass)
                @Html.ValidationMessageFor(model => model.MaxMass)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.MassFree)
            </td>
            <td>
                @Html.TextBoxFor(model => model.MassFree)
                @Html.ValidationMessageFor(model => model.MassFree)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.CountryExport)
            </td>
            <td>
                @Html.TextBoxFor(model => model.CountryExport)
                @Html.ValidationMessageFor(model => model.CountryExport)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.CustomsRestrictions)
            </td>
            <td>
                @Html.TextBoxFor(model => model.CustomsRestrictions)
                @Html.ValidationMessageFor(model => model.CustomsRestrictions)
            </td>
        </tr>
        <tr>
            <td>
                @Html.LabelFor(model => model.Manufacturer)
            </td>
            <td>
                @Html.TextBoxFor(model => model.Manufacturer)
                @Html.ValidationMessageFor(model => model.Manufacturer)
            </td>
        </tr>
    </table>
</fieldset>
